package caiweiyu.rbac.domain.entity;

public class User {
    //id主键
    public int id;
    //用户名
    public String username;
    //姓名
    public String name;
    //联系电话
    public String mobile;
    //邮箱
    public String email;
    //部门id
    public int deptId;
    //角色id
    public int roleId;
    //状态：ture表示启用，false表示停用
    public boolean enabled=true;

    //无参构造方法
    public User(){}

    //有参构造方法
    public User(String username, String name,String mobile,String email,int deptId,int roleId)
    {
        this.username=username;
        this.name=name;
        this.mobile=mobile;
        this.email=email;
        this.deptId=deptId;
        this.roleId=roleId;
    }
}
